<div class="right_side_scollbar_msg">
<?php if(!empty($first_msg['Msg']['id'])): ?>
<div style='float:left;margin:0 40px;width:92%;'>
  
  <div style='font-size:10pt;margin:10px 0;'>
  <span style="float:left;font-weight: bold;font-size:16px;"><?php echo ($first_msg['User']['name'])?>发给:&nbsp;&nbsp;</span>
  <div id="receiver" style="height:20px;float:left;overflow:hidden;max-width:80%;font-weight: bold;font-size:16px;">
  <?php for($i=0;$i<count($first_msg['Msg']['id_ones']);$i++):?>
  
     <?php echo $html->link($first_msg['Msg']['id_ones'][$i]['name'].'; ',"/users/view/".$first_msg['Msg']['id_ones'][$i]['id']);?>

  <?php endfor;?>
  </div>
  <a class='show_receiver'  href='javascript:;' title='展开'></a>
  <a style='float:right;'><?php echo date('Y-m-d H:i',strtotime($first_msg['Msg']['created']));?></a>
    <?php  if(!empty($first_msg['istime']) && $first_msg['istime']== '1'):?>
    
  <?php echo $html->link('取消定时',"/msgs/cancel_auto_post/".$first_msg['Msg']['id'],array('class'=>'cancel_auto_post'));?>
  
  <span style="float:right;margin-right:20px;"><?php echo '每隔'.$first_msg['interval'].'个月发送一次'; ?></span>
    <?php endif;?>
  </div>
  
  <?php if(!empty($first_msg['Msg']['attachments'])): ?>
  <div style='font-size:10pt;margin:10px 0;float:left;width:100%;'>附件:&nbsp;&nbsp;
    <?php for($i=0;$i<count($first_msg['Msg']['attachments']);$i++):?>

     <?php echo $html->link($first_msg['Msg']['attachments'][$i]['Attachment']['file_name'].'; ',"/msgs/download/".$first_msg['Msg']['attachments'][$i]['Attachment']['id']);?>

    <?php endfor;?>	
    </div>
<?php endif;?>	
  <div style='font-size:11pt;padding:10px 0;text-indent:30px;border-bottom:1px solid 
  #ccc;float:left;max-width:1100px;width:100%;word-wrap: break-word;overflow: hidden;'><?php echo $first_msg['Msg']['content'];?></div>
 
</div>
<?php else: ?>
  
<?php endif;?>
<div class="clear"></div>
</div>
<script type="text/javascript">
$(document).ready(function(){
	hideReceiver();
});
</script>